<?php 


namespace app\admin\model;

use app\common\model\BaseModel;
use think\Model;

class Store extends BaseModel {

    public function getCurrentStores($tenantId){
       return self::where('tenantId','=',$tenantId)->select();
    }
    public function findStore($storeId){
        return self::where('id','=',$storeId)->find($storeId);
    }

}